import request from '@/utils/request'

// 查询工作日志列表
export function listWorkLog(query) {
  return request({
    url: '/gcxt/worklog/list',
    method: 'get',
    params: query
  })
}

// 新增工作日志
export function addWorkLog(data) {
  return request({
    url: '/gcxt/worklog/add',
    method: 'post',
    data: data
  })
}

// 修改工作日志
export function updateWorkLog(data) {
  return request({
    url: '/gcxt/worklog/edit',
    method: 'put',
    data: data
  })
}

// 删除工作日志
export function delWorkLog(fids) {
  return request({
    url: '/gcxt/worklog/delete',
    method: 'delete',
    data: fids
  })
}
